package com.yf.tz.dao;

import com.yf.tz.entity.MallTypeEntity;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;

import java.util.List;

/**
 * 订单类型Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Jul 01 16:32:18 CST 2020
 */
@Mapper
public interface MallTypeDao extends BaseDao<MallTypeEntity> {


    /**

        List<MallTypeVo> queryListVo(MallTypeVo mallTypeVo);

        MallTypeVo getVo(Long id);

    **/

    List<Long> findByGoods(Long goodsId);

    //批量插入
    void insertByList(Long goodsId, List<Long> typeIds);

    void deleteByGoods(Long goodsId);

    List<MallTypeEntity> findAll();
}
